package com.itHsuSE.demo2;

public class RecuExer01 {
    public static void main(String[] args) {
        /*T t=new T();
        //System.out.println(t.fibo(5));
        System.out.println(t.peach(1));*/
    }
}

/*class T{
    public int fibo(int n){
        if(n==1||n==2) {
            return 1;
        }else {
            return fibo(n-1)+fibo(n-2);
        }
    }

    public int peach(int n){
        if(n==10){
            return 1;
        }else {
            return (peach(n+1)+1)*2;
        }
    }
}*/
